package com.breeze.media.video;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import androidx.appcompat.app.AppCompatActivity;

import com.breeze.media.R;

public class VideoEntryActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_video_entry);
    }

    public void openSurfaceView(View view) {
        start(SurfaceViewActivity.class);
    }

    public void openTextureView(View view) {
        start(TextureViewActivity.class);
    }

    public void openVideoView(View view) {
        start(VideoViewActivity.class);
    }

    private void start(Class<?> cls) {
        startActivity(new Intent(this, cls));
    }

}